package com.mlf.factory;

import com.mlf.factory.easyFactory.demo.Shape;
import com.mlf.factory.factory.demo.CircleFactory;
import com.mlf.factory.factory.demo.ShapeFactory;

// 客户端使用
public class FactoryDemo {
    public static void main(String[] args) {
        ShapeFactory factory = new CircleFactory();
        Shape shape = factory.createShape();
        shape.draw();
    }

}